package com.linkvin.ec.hcs.dao.mapper.mdm;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.linkvin.ec.hcs.dao.model.mdm.Department;
import com.linkvin.ec.hcs.dao.model.mdm.bo.DepartmentBo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 部门 Mapper 接口
 * </p>
 *
 * @author qichao
 * @since 2017-12-18
 */
public interface DepartmentMapper extends BaseMapper<Department> {
    List<DepartmentBo> queryPageDepartment(Page<DepartmentBo> page, @Param("ew") Wrapper<DepartmentBo> wrapper);

    List<DepartmentBo> selectDepartment(@Param("code") String code);
}
